home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
cat3
/
Restack.3
< prev
next >
Wrap
Text File
|
1994-09-20
|
2KB
|
67 lines
Tk_RestackWindow(3) Tk Library Procedures
_________________________________________________________________
NAME
Tk_RestackWindow - Change a window's position in the stack-
ing order
SYNOPSIS
#include <tk.h>
int
Tk_RestackWindow(_t_k_w_i_n, _a_b_o_v_e_B_e_l_o_w, _o_t_h_e_r)
ARGUMENTS
Tk_Window _t_k_w_i_n (in) Token for window to res-
tack.
int _a_b_o_v_e_B_e_l_o_w (in) Indicates new position of
_t_k_w_i_n relative to _o_t_h_e_r;
must be Above or Below.
Tk_Window _o_t_h_e_r (in) _T_k_w_i_n will be reposi-
tioned just above or
below this window. Must
be a sibling of _t_k_w_i_n or
a descendant of a
sibling. If NULL then
_t_k_w_i_n is restacked above
or below all siblings.
_________________________________________________________________
DESCRIPTION
Tk_RestackWindow changes the stacking order of _w_i_n_d_o_w rela-
tive to its siblings. If _o_t_h_e_r is specified as NULL then
_w_i_n_d_o_w is repositioned at the top or bottom of its stacking
order, depending on whether _a_b_o_v_e_B_e_l_o_w is Above or Below.
If _o_t_h_e_r has a non-NULL value then _w_i_n_d_o_w is repositioned
just above or below _o_t_h_e_r.
The _a_b_o_v_e_B_e_l_o_w argument must have one of the symbolic values
Above or Below. Both of these values are defined by the
include file <X11/Xlib.h>.
KEYWORDS
above, below, obscure, stacking order
Tk 1